1 setup

Run this daily to get a snapshot of tag stats and health

2 notes

2.1 PATH TO LATEST DATA

# paths to update when you run
portaldir <- "portal_downloads"
datadirss <- list.files(portaldir)
datadir <- file.path(portaldir, datadirss[length(datadirss)])

2.2 basic helper function

2.3 load paths adjust as needed

2.4 Import data from wildlife portal and the goniometer. Merge the two stacks.

3 tag summary

ptt hex serial tag_model deployid catalog_ID_DUML BRS_season deploydate_yyyymmdd deploytime_hhmm species location tagger permit tagtype longitude latitude tagside taglocation taglocationnotes programming_basic_descriptor notes recorder age sex agesex_conf headshot agesex_reason appearance_notes
4 220740 2C2704C NA SPLASH10-333 ZcTag136_DUML NA brs10 20230725 1321 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
5 220736 2C27000 NA SPLASH10-333 ZcTag137_DUML NA brs10 20230725 1449 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a f high y mother calf NA
6 220743 2C27079 NA SPLASH10-333 ZcTag138_DUML NA brs10 20230725 1924 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
1 220745 2C27098 NA SPLASH10-333 ZcTag139_DUML NA brs10 20230726 1638 Zca Hat dlw NA NA NA NA R NA NA NA NA NA u u y NA
2 233112 406B18B NA SPLASH10-333 ZcTag140_DUML NA brs10 20230726 1958 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
3 233115 406B1BE NA SPLASH10-333 ZcTag141_DUML NA brs10 20230726 2027 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
9 233118 406B1E1 NA SPLASH10-333 ZcTag142_DUML NA brs10 20230807 NA NA NA NA NA NA NA NA NA NA NA
8 233110 406B16A NA SPLASH10-F-333 ZcTag143_DUML NA brs10 20230807 NA NA NA NA NA NA NA NA NA NA NA
7 233111 406B179 NA SPLASH10-F-333 ZcTag144_DUML NA brs10 20230807 NA Zca Hat dlw NA NA NA NA NA NA NA NA NA NA

4 calculate stats

5 summaries

5.1 status and corrupt

deployid ptt nmsg ncrc transmits battvoltrange zerodepthrange last_sta_recieved ncorrupt
2 ZcTag136_DUML 220740 56 56 8328 3.248 to 3.568 -13 to 4 2023-08-13 17:04:07 162
1 ZcTag137_DUML 220736 15 14 5867 3.376 to 3.504 1 to 3 2023-08-10 10:46:53 194
3 ZcTag138_DUML 220743 10 6 871 3.568 to 3.568 2 to 3 2023-08-07 14:30:41 334
4 ZcTag139_DUML 220745 11 11 4143 3.504 to 3.568 -37 to 1 2023-08-07 14:31:02 130
7 ZcTag140_DUML 233112 7 7 1188 3.44 to 3.504 1 to 3 2023-08-02 11:16:31 81
8 ZcTag141_DUML 233115 16 15 1702 3.504 to 3.504 1 to 3 2023-07-30 14:31:55 52
9 ZcTag142_DUML 233118 14 14 2434 3.44 to 3.504 3 to 6 2023-08-14 09:46:05 31
5 ZcTag143_DUML 233110 1 1 1232 3.44 to 3.44 2 to 2 2023-08-10 01:54:45 66
6 ZcTag144_DUML 233111 0 0 0 104

5.2 locations

deployid ptt nloc nz na nb n0 n1 n2 n3 last_loc_recieved
2 ZcTag136_DUML 220740 336 1 24 73 156 54 21 7 2023-08-14 10:27:56
1 ZcTag137_DUML 220736 233 1 33 86 68 34 9 2 2023-08-13 23:22:50
3 ZcTag138_DUML 220743 213 0 37 114 29 24 6 3 2023-08-12 16:06:58
4 ZcTag139_DUML 220745 176 1 21 116 28 6 2 2 2023-08-14 03:24:35
7 ZcTag140_DUML 233112 71 1 13 31 19 4 3 0 2023-08-02 11:15:31
8 ZcTag141_DUML 233115 63 1 10 20 24 7 1 0 2023-07-30 17:41:17
9 ZcTag142_DUML 233118 84 0 12 14 39 15 4 0 2023-08-14 10:30:02
5 ZcTag143_DUML 233110 76 1 10 28 29 8 0 0 2023-08-14 09:47:01
6 ZcTag144_DUML 233111 65 0 12 32 19 2 0 0 2023-08-14 09:45:52

5.3 behavior

deployid ptt n_beh_msgs totalbeh_time_hours nbehgaps behgap_time_hours latest_beh_recieved
2 ZcTag136_DUML 220740 0 0 0 0
1 ZcTag137_DUML 220736 0 0 0 0
3 ZcTag138_DUML 220743 0 0 0 0
4 ZcTag139_DUML 220745 0 0 0 0
7 ZcTag140_DUML 233112 0 0 0 0
8 ZcTag141_DUML 233115 0 0 0 0
9 ZcTag142_DUML 233118 0 0 0 0
5 ZcTag143_DUML 233110 0 0 0 0
6 ZcTag144_DUML 233111 0 0 0 0

5.4 series

this doesn’t count the messages quite right for some reason, but you get the idea. you can scroll down below and see the plot of messages receieved.

deployid ptt n_ser_msgs totalser_time_hours nsergaps sergap_time_hours nsermsggaps latest_ser_recieved
2 ZcTag136_DUML 220740 105 420 3 16 4 2023-08-12 16:00:00
1 ZcTag137_DUML 220736 81 324 5 40 10 2023-08-09 16:00:00
3 ZcTag138_DUML 220743 37 148 18 120 30 2023-08-05 20:00:00
4 ZcTag139_DUML 220745 44 172 15 140 35 2023-08-08 08:00:00
7 ZcTag140_DUML 233112 19 76 6 40 10 2023-07-31 16:00:00
8 ZcTag141_DUML 233115 16 64 3 28 7 2023-07-30 16:00:00
9 ZcTag142_DUML 233118 36 144 1 8 2 2023-08-13 20:00:00
5 ZcTag143_DUML 233110 23 92 4 52 13 2023-08-13 16:00:00
6 ZcTag144_DUML 233111 13 52 6 72 18 2023-08-13

5.5 fastloc

deployid ptt fastloc_received fastloc_locnum fastloc_failures fastloc_latest
ZcTag137_DUML 220736 0 0 0 0
ZcTag136_DUML 220740 0 0 0 0
ZcTag138_DUML 220743 0 0 0 0
ZcTag139_DUML 220745 0 0 0 0
ZcTag143_DUML 233110 16 24 60 13-Aug-2023 22:51:42
ZcTag144_DUML 233111 8 20 34 13-Aug-2023 04:08:23
ZcTag140_DUML 233112 0 0 0 0
ZcTag141_DUML 233115 0 0 0 0
ZcTag142_DUML 233118 0 0 0 0

6 position snapshot

Plot of the last four positions for all the tags which have generated an argos position within the last 3 days

7 plot pressure sensors

PROVISIONAL plot status cutoffs and bat voltage. Cutoffs are in dotted red lines. These are either:

  1. healthy tags: the last status messages as a conservative cutoff and on tags that are still actively transmitting this is likely to increase
  2. unhealthy pressure transducer tags: if there are 2 status messages (crc’d) where the | zerodepth | > 10 then this is the last good status message before the 1st of those two bad messages.

We have settled on a more complicated cutoff system to capture a little more very likely good data. For detail please see DATAPREP_sattag_processing. But this gives you a general idea of approx. cutoffs and pressure transducer health.

8 control cee

8.1 +/- 12 hour look at ship based cee 23_01 on 20220804

gonio hits in purple

9 series message source plots